// import { combineReducers } from "redux"; 
import { combineReducers } from "redux-immutable"; 
import recommend from "./recommend.js";
import play from './play.js'
import rank from './rank.js'
import songlist from './songlist.js'
import djradio from './djradio.js'
import artist from './artist.js'
import albums from './albums.js'
//因为这里也是返回的对象，每次合并都会返回新的对象 所以也需要转换成immutable类型
//又因为redux有对应合并immutable的插件:redux-immutable
//这里修改了，导入模块的时候还是用 set 获取 
let reducer = combineReducers({
    recommend,
    play,
    rank,
    songlist,
    djradio,
    artist,
    albums
})
export default reducer ; 